Smoke bomb detonated in hospital and two explosives placed on MTR train, court hears as trial of eight defendants begins.